home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Whiteline: delta
/
whiteline CD Series - delta.iso
/
systems
/
mint
/
ksh
/
bugs
next >
Wrap
Text File
|
1995-11-25
|
1KB
|
38 lines
1) getopts works fine except;
if getopts is called with a full argument list, eg.
getopts abo: c $*
then $c will correctly be set to the arguments of $*. As far as I know
this construct allways works.
If however the $* parameter is ignored, as when passing the positional
parameters ( $1 $2 $3 ... ), getopts will correctly parse the parameters
of a shell script. If getopts is called like this from within a
function, the getopts will fail to get it's parameters.
Solution; Use $* instead of leaving a blank.
2) running more than one background command from the same command line,
fails to background the second command. ie.
a& b&
runs as
a& b
3) the exit status of pipelines is wrong, seems to return the exit
status of the first command rather than the last.
4) no warning when you exit with stopped jobs.
5) pipes sometimes stay on the jobs list - don't know why.
6) aliases and functions can be marked as exported, the're not.
7) just noticed this one, if you use fc -s to repeat previous commands
more than once on the same line, the second occurance gets the wrong
history number.